<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div class="darkmenu">
    <ul class="darkRed" id="eight">
        <c:choose>
            <c:when test="${not empty index}">
                <li><a href="/index.html">Главная</a></li>
                <c:choose>
                    <c:when test="${index==1}">
                        <li class="current"><a href="/info/how_to_use.html">Правила использования</a></li>
                    </c:when>
                    <c:otherwise>
                        <li><a href="/info/how_to_use.html">Правила использования</a></li>
                    </c:otherwise>
                </c:choose>
                <c:choose>
                    <c:when test="${index==2}">
                        <li class="current"><a href="/info/contacts.html">Контакты</a></li>
                    </c:when>
                    <c:otherwise>
                        <li><a href="/info/contacts.html">Контакты</a></li>
                    </c:otherwise>
                </c:choose>
                <c:choose>
                    <c:when test="${index==3}">
                        <li class="current"><a href="/info/whats_new.html">Что нового</a></li>
                    </c:when>
                    <c:otherwise>
                        <li><a href="/info/whats_new.html">Что нового</a></li>
                    </c:otherwise>
                </c:choose>
                <c:choose>
                    <c:when test="${index==4}">
                        <li class="current"><a href="/info/about.html">О нас</a></li>
                    </c:when>
                    <c:otherwise>
                        <li><a href="/info/about.html">О нас</a></li>
                    </c:otherwise>
                </c:choose>
            </c:when>
            <c:otherwise>
                <li class="current"><a href="/index.html">Главная</a></li>
                <li><a href="/info/how_to_use.html">Правила использования</a></li>
                <li><a href="/info/contacts.html">Контакты</a></li>
                <li><a href="/info/whats_new.html">Что нового</a></li>
                <li><a href="/info/about.html">О нас</a></li>
            </c:otherwise>
        </c:choose>
    </ul>

</div>
<div class="clear"></div>
